const {send} = require("@/zy-common/utils")

module.exports = async (err,ctx) => {
  console.log("捕获错误",err)
  send(ctx,500,'-1',err.message)
}